// ============================================================================
//
// LCP-net framework by Pierre CHATEL chatelp@gmail.com
// Distributed under GPLv3
// Copyright (C) THALES Land & Joint Systems, 2008, 2009. All rights reserved
//
// ============================================================================

/**
 * <copyright>
 * </copyright>
 *
 * $Id$
 */
package com.thalesgroup.preferenceFramework.models.LCPnet;

import com.thalesgroup.preferenceFramework.models.Namable;
import net.sourceforge.jFuzzyLogic.rule.FuzzyRuleSet;

import org.eclipse.emf.common.util.EList;

import org.eclipse.emf.ecore.EObject;

import com.thalesgroup.preferenceFramework.models.LCPnet.exceptions.LNodeEvaluationException;

/**
 * <!-- begin-user-doc -->
 * A representation of the model object '<em><b>CLPT</b></em>'.
 * <!-- end-user-doc -->
 *
 * <p>
 * The following features are supported:
 * <ul>
 *   <li>{@link com.thalesgroup.preferenceFramework.models.LCPnet.CLPT#getLines <em>Lines</em>}</li>
 *   <li>{@link com.thalesgroup.preferenceFramework.models.LCPnet.CLPT#getNode <em>Node</em>}</li>
 * </ul>
 * </p>
 *
 * @see com.thalesgroup.preferenceFramework.models.LCPnet.LCPnetPackage#getCLPT()
 * @model
 * @generated
 */
public interface CLPT extends Namable {
	/**
	 * Returns the value of the '<em><b>Lines</b></em>' containment reference list.
	 * The list contents are of type {@link com.thalesgroup.preferenceFramework.models.LCPnet.CLPTLine}.
	 * It is bidirectional and its opposite is '{@link com.thalesgroup.preferenceFramework.models.LCPnet.CLPTLine#getTable <em>Table</em>}'.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Lines</em>' containment reference list isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Lines</em>' containment reference list.
	 * @see com.thalesgroup.preferenceFramework.models.LCPnet.LCPnetPackage#getCLPT_Lines()
	 * @see com.thalesgroup.preferenceFramework.models.LCPnet.CLPTLine#getTable
	 * @model opposite="table" containment="true" required="true"
	 * @generated
	 */
	EList<CLPTLine> getLines();

	/**
	 * Returns the value of the '<em><b>Node</b></em>' container reference.
	 * It is bidirectional and its opposite is '{@link com.thalesgroup.preferenceFramework.models.LCPnet.LNode#getLinguisticTable <em>Linguistic Table</em>}'.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Node</em>' container reference isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Node</em>' container reference.
	 * @see #setNode(LNode)
	 * @see com.thalesgroup.preferenceFramework.models.LCPnet.LCPnetPackage#getCLPT_Node()
	 * @see com.thalesgroup.preferenceFramework.models.LCPnet.LNode#getLinguisticTable
	 * @model opposite="linguisticTable" required="true" transient="false"
	 * @generated
	 */
	LNode getNode();

	/**
	 * Sets the value of the '{@link com.thalesgroup.preferenceFramework.models.LCPnet.CLPT#getNode <em>Node</em>}' container reference.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Node</em>' container reference.
	 * @see #getNode()
	 * @generated
	 */
	void setNode(LNode value);
	
	/**
	 * Uses the content of this CLPT to initialize a fuzzy rule set with rules of the form (IF a = b AND c = d then e = f).
	 * @param ruleSet the rule set to initialize.
	 */
	void setRules(FuzzyRuleSet ruleSet) throws LNodeEvaluationException;

} // CLPT
